import {HttpHelper} from "./HttpHelper";
import {Injectable} from "@angular/core";
@Injectable()
export class ImageService{
    constructor(private helper:HttpHelper){

    }
    postBinaryImage(data:string,position:string){
        return this.helper.postToText(`images/${position}`,data,"text/plain");
    }
}